package org.one.servlet;

import java.io.File;

/**
 * Servlet规范之响应规范
 */
public interface OneResponse {

    // 将响应写入到Channel
    void write(String content) throws Exception;

    // 将响应写入到Channel
    void write(File file) throws Exception;
}
